package com.zzx.boot.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zzx.boot.common.R;
import com.zzx.boot.pojo.Employee;

import javax.servlet.http.HttpSession;

public interface EmployeeService extends IService<Employee> {
    /**
     * 用户登录
     * @param employee
     * @return
     */
    R<Employee> login(Employee employee);

    /**
     * 添加员工
     * @param session
     * @param employee
     * @return
     */
    R<String> addUser( Employee employee);

    R<Page> pageSelect(Integer page,Integer pageSize,String name);

    R<String> IsStatus(Employee employee);
}
